package com.von.enums;

public enum ErrorEnum {

    /**
     * token异常
     */
    TOKEN_ERROR("token异常", 1);

    private String error;

    private int code;


    ErrorEnum(String error, int code) {
        this.error = error;
        this.code = code;
    }


    public String getError() {
        return error;
    }

    public int getCode() {
        return code;
    }
}

